package org.jeecg.modules.demo.ch.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 周报反馈报表
 * @Author: jeecg-boot
 * @Date:   2022-11-14
 * @Version: V1.0
 */
@Data
@TableName("ch_weekly_report_feedback")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ch_weekly_report_feedback对象", description="周报反馈报表")
public class ChWeeklyReportFeedback implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**周会标题*/
	@Excel(name = "周会标题", width = 15)
    @ApiModelProperty(value = "周会标题")
    private String weeklyMeetTitle;
	/**待办事项*/
	@Excel(name = "待办事项", width = 15)
    @ApiModelProperty(value = "待办事项")
    private String representation;
	/**预估时间*/
	@Excel(name = "预估时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预估时间")
    private Date estimatedTime;
	/**实际完成时间*/
	@Excel(name = "实际完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实际完成时间")
    private Date actualCompletionTime;
	/**执行人*/
	@Excel(name = "执行人", width = 15)
    @ApiModelProperty(value = "执行人")
    private String executor;
	/**最后截止时间*/
	@Excel(name = "最后截止时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最后截止时间")
    private Date deadline;
	/**分类（运维、开发、其它）*/
	@Excel(name = "分类（运维、开发、其它）", width = 15)
    @ApiModelProperty(value = "分类（运维、开发、其它）")
    private String classification;
	/**执行状态（未开始、执行中、已完成）*/
	@Excel(name = "执行状态（未开始、执行中、已完成）", width = 15)
    @ApiModelProperty(value = "执行状态（未开始、执行中、已完成）")
    private String executionStatus;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    /**时间段查询*/
    @TableField(exist = false)
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String beginTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @TableField(exist = false)
    private String endTime;
}
